From 774aab166bf578863ce75cc2db91862242f680f8 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Sun, 25 Mar 2001 15:55:48 +0000 Subject: [PATCH] (init_from_display_pos): Test invisible property with TEXT_PROP_MEANS_INVISIBLE instead of NILP. --- src/xdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index b40d944b30f..48fc7d7bc14 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -1764,7 +1764,7 @@ init_from_display_pos (it, w, pos) && (XSETWINDOW (window, w), prop = Fget_char_property (make_number (charpos), Qinvisible, window), - NILP (prop))) + !TEXT_PROP_MEANS_INVISIBLE (prop))) { prop = Fget_char_property (make_number (charpos - 1), Qinvisible, window); -- 2.30.2